package com.mtao.dto;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.groups.Default;
import lombok.*;

@Data
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class ProductDto {
    @NotNull
    private Integer page;
    @NotNull
    private Integer size;
    private String name;
    private String type;
    private String username;

    public interface Add extends Default {

    }
    public interface Update extends Default{

    }
}
